POV-Ray : Newsgroups : povray.beta-test : Evaluate? : Evaluate? Server Time
30 Jul 2024 08:28:02 EDT (-0400)
  Evaluate?  
From: JRG
Date: 2 Dec 2001 05:45:10
Message: <3c0a0636@news.povray.org>
Evaluate still changes your max_gradient: is it supposed to work this way?

#include "functions.inc"
#declare f_granito = function {pigment {granite color_map {[0 rgb 0][1 rgb
1]} scale 50} }
isosurface {
    function {f_rounded_box (x,y,z,2,15,10,15)+f_granito (x,y,z).red*1.25}
    accuracy 10^-2
    max_gradient 2
    evaluate 1,10,0.99
    contained_by {box {-<15,10,15>,<15,10,15> }}
    translate <15,10,15>*<1,1,-1>
    pigment {rgb 0.7}
    scale 1.5
}

light_source {<100,100,-100> rgb 1.5}

camera {
    location <20,50,-100> look_at 15*x}


--
Jonathan.

Home: http://digilander.iol.it/jrgpov


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.